Micron Document
`:top
The `!JavaTest harness`! (or `!jtreg`!) is a `F33f`_`[regression tests`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Regression_testing]`_`f framework specifically designed by `F33f`_`[Sun Microsystems`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Sun_Microsystems]`_`f to test the reference `F33f`_`[Java platform`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Java_(software_platform)]`_`f implementation.`:cite-ref-jregfaq-2-0[`F5bf`_`[2`#cite-note-jregfaq-2]`_`f]

Although jtreg was originally designed to execute `F33f`_`[Technology Compatibility Kit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Technology_Compatibility_Kit]`_`f (TCK) compliance tests, it is not designed to check compliance of a particular Java implementation to the specification, but to test any regressions suite for the `F33f`_`[Java platform`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Java_(software_platform)]`_`f.`:cite-ref-jregfaq-2-1[`F5bf`_`[2`#cite-note-jregfaq-2]`_`f]

>>Contents

• `F0af`_`[History`#history]`_`f
• `F0af`_`[Use in OpenJDK`#use-in-openjdk]`_`f
• `F0af`_`[See also`#see-also]`_`f
• `F0af`_`[References`#references]`_`f
• `F0af`_`[External links`#external-links]`_`f

-─

>>History

jtreg started in 1997, during `F33f`_`[JDK 1.2`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=J2SE_1.2]`_`f development.`:cite-ref-3[`F5bf`_`[3`#cite-note-3]`_`f] Being developed prior to `F33f`_`[JUnit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=JUnit]`_`f existence, jtreg was initially not compatible with JUnit's test syntax,`:cite-ref-jregfaq-2-2[`F5bf`_`[2`#cite-note-jregfaq-2]`_`f] but later versions added a limited compatibility with JUnit.`:cite-ref-4[`F5bf`_`[4`#cite-note-4]`_`f]

>>Use in OpenJDK

`F33f`_`[OpenJDK`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=OpenJDK]`_`f, the `F33f`_`[open-source`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Open-source_software]`_`f implementation of the `F33f`_`[Java programming language`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Java_(programming_language)]`_`f`:cite-ref-5[`F5bf`_`[5`#cite-note-5]`_`f] encourages the use of jtreg tests for patch submissions.`:cite-ref-6[`F5bf`_`[6`#cite-note-6]`_`f]

>>See also

• `F33f`_`[Technology Compatibility Kit`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Technology_Compatibility_Kit]`_`f

>>References

`:cite-note-1`!1.`! "jtreg 4.1 download". `F33f`_`[OpenJDK`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=OpenJDK]`_`f community. Retrieved 2015-12-30.
`:cite-note-jregfaq-2`!2.`! `F0af`_`[↑`#cite-ref-jregfaq-2-0]`_`f "jtreg FAQ". `F33f`_`[Oracle Corporation`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Oracle_Corporation]`_`f. Retrieved 2011-05-08.
`:cite-note-3`!3.`! `F0af`_`[↑`#cite-ref-3]`_`f `:citerefgibbons2006`aGibbons, Jonathan (2006-11-13). "wwwww.jtreg: The Who What Where When Why of jtreg". Retrieved 2011-05-08.
`:cite-note-4`!4.`! `F0af`_`[↑`#cite-ref-4]`_`f `:citerefgibbons2010`aGibbons, Jonathan (2010-05-27). "jtreg 4.1". Retrieved 2011-05-08.
`:cite-note-5`!5.`! `F0af`_`[↑`#cite-ref-5]`_`f "OpenJDK Legal Documents". `F33f`_`[Sun Microsystems`:/page/wikibook/entry.mu`zim=wikipedia_en_all_nopic_2025-08.zim|entry_path=Sun_Microsystems]`_`f.
`:cite-note-6`!6.`! `F0af`_`[↑`#cite-ref-6]`_`f "Regression Test Harness for the OpenJDK platform: jtreg". Retrieved 2008-08-26.

>>External links

• jtreg FAQ

`c`F0af`_`[↑ Back to top`#top]`_`f`a